Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetArray Method / SetArray(Int32,Int32,Object[,],Boolean) Method
Row index
Column index
Array from which to set values
If true, set formulas; otherwise, set values.


In This Topic
    SetArray(Int32,Int32,Object[,],Boolean) Method
    In This Topic
    Sets the values in the specified two-dimensional array of objects into the specified range of cells on this sheet.
    Syntax
    'Declaration
     
    Public Overloads Sub SetArray( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal value(,) As Object, _
       ByVal formula As Boolean _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim value() As Object
    Dim formula As Boolean
     
    instance.SetArray(row, column, value, formula)
    public void SetArray( 
       int row,
       int column,
       object[,] value,
       bool formula
    )

    Parameters

    row
    Row index
    column
    Column index
    value
    Array from which to set values
    formula
    If true, set formulas; otherwise, set values.
    See Also